package com.example.springboot.domain.po;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.beans.Transient;

/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.domain.po
 * @Project：springboot
 * @name：User
 * @Date：2025/2/4 21:09
 * @Filename：User
 * @for:
 */
@Data
@TableName("user")
public class User extends Account{
    @Alias("班级Id")
    @TableField("grade_id")
    private Integer gradeId;
    @TableField(exist = false)
    private String gradeName;

}